<?php 

	function alerta ($msg){
		echo "<script>
					alert('$msg');
				</script>";
	}
	
	function redirect($endereco){
		echo "<script>
				window.location.href='$endereco'
			</script>";
	}	




?>